package com.wll.factory.model.db.view;

import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.QueryModel;
import com.wll.factory.model.db.AppDatabase;

/**
 * 群成员对应的用户的简单信息表
 *
 * created by detachment on 2020/6/28
 */
@QueryModel(database = AppDatabase.class)
public class MemberUserModel {
    @Column
    public String userId; // User-id/Member-userId
    @Column
    public String name; // User-name
    @Column
    public String alias; // Member-alias
    @Column
    public String portrait; // User-portrait

    @Override
    public String toString() {
        return "MemberUserModel{" +
                "userId='" + userId + '\'' +
                ", name='" + name + '\'' +
                ", alias='" + alias + '\'' +
                ", portrait='" + portrait + '\'' +
                '}';
    }
}
